package com.dongdongshop.service;

import com.dk.util.PageResult;
import com.dongdongshop.pojo.TbBrand;

import java.util.List;

public interface BrandService {
    PageResult getall(Integer pagenum, Integer pagesize);

    //增加
    int addbrand(TbBrand tb);

    //修改回显
    TbBrand byid(Long id);

    //修改
    int updatebrand(TbBrand tb);

    //删除
    int deleteid(Long id);

    List<TbBrand> getlist();

    PageResult selectfen(Integer pagenum, Integer pagesize, String name);
}
